package com.example.day01;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;

import com.shuyu.gsyvideoplayer.video.GSYSampleADVideoPlayer;

public class VedioActivity extends AppCompatActivity {
    private GSYSampleADVideoPlayer sand;




    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_vedio);
        sand = (GSYSampleADVideoPlayer) findViewById(R.id.sand);

        sand.setUp("http://ivi.bupt.edu.cn/hls/cctv6hd.m3u8",true,"CCTV-6");
    }
}
